/**
 * 
 */
package hottargui.view;

import java.awt.event.MouseEvent;

import hottargui.framework.Game;

import minidraw.framework.DrawingEditor;
import minidraw.standard.AbstractTool;

public class EndGameTool extends AbstractTool {
	Game game;

	public EndGameTool(DrawingEditor editor, Game game) {
		super(editor);
		this.game = game;
	}

	public void mouseDown(MouseEvent evt, int x, int y) {
		game.getWinner();
	}
}
